import Layout from '@/layout'

const attendRouter = {
  path: '/attendances',
  component: Layout,

  children: [
    {
      path: '',
      component: () =>
        import(/* webpackChunkName:"attendances"*/ '@/views/attendances'),
      name: 'attendances',
      meta: {
        title: 'attendances',
        icon: 'excel'
      }
    },
    {
      path: 'archiving',
      component: () =>
        import(
          /* webpackChunkName:"attendances"*/ '@/views/attendances/historical'
        ),
      name: 'archiving',
      hidden: true,
      meta: {
        title: 'archiving'
      }
    },
    {
      path: 'report/:month',
      component: () =>
        import(
          /* webpackChunkName:"attendances"*/ '@/views/attendances/report'
        ),
      name: 'reports',
      hidden: true,
      meta: {
        title: 'reports'
      }
    }
  ]
}
export default attendRouter
